summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemBucket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemBucket.h')
-rw-r--r--src/Items/ItemBucket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemBucket.h b/src/Items/ItemBucket.h
index 7e1e2c07f..a5b1085ba 100644
--- a/src/Items/ItemBucket.h
+++ b/src/Items/ItemBucket.h
@@ -76,13 +76,13 @@ public:
return false; // Nothing in range.
}
- if (a_World->GetBlockMeta(BlockPos.x, BlockPos.y, BlockPos.z) != 0)
+ if (a_World->GetBlockMeta(BlockPos) != 0)
{
// Not a source block
return false;
}
- BLOCKTYPE Block = a_World->GetBlock(BlockPos.x, BlockPos.y, BlockPos.z);
+ BLOCKTYPE Block = a_World->GetBlock(BlockPos);
ENUM_ITEM_TYPE NewItemType;
if (IsBlockWater(Block))